typedef HRESULT (WINAPI *TD3DXCreateSprite)(
  _In_   LPDIRECT3DDEVICE9 pDevice,
  _Out_  LPD3DXSPRITE *ppSprite
);

TD3DXCreateSprite OldD3DXCreateSprite;

DllExport HRESULT cc D3DXCreateSprite(
  _In_   LPDIRECT3DDEVICE9 pDevice,
  _Out_  LPD3DXSPRITE *ppSprite
)
{
	return OldD3DXCreateSprite (pDevice, ppSprite);
}
